var SEARCH = function() 
{
	var o = {};
	
	o.run = function()
	{
		o.searchlist();//搜索结果显示
		
	}
	
	o.searchlist = function(){
		if( keyword == 'null'){
			$.get('/Api/search/typesearch' , {subnum:subnum , typenum:typenum} , function(ret){
				if( ret.status == true){
					var html = template('typesea-list-tql',ret);
					$('#typesea-show').append(html);
				}
			});
		}
		else{
			$.get('/Api/search/typesearch' , {keyword:keyword} , function(ret){
				if( ret.status == true){
					var html = template('typesea-list-tql',ret);
					$('#typesea-show').append(html);
				}
			});
		}
	}
	
	
	
	return o;
}();




